import mitt from "mitt";
export const Bus = mitt();

export const CHART_KLINE__ITEM = "kline";
export const CHART_KLINE__LIST = "kline list";
export const CHART_DATA_ITEM = "data";
export const CHART_KLINE_SUBSCRIBE = "subscribe";
export const CHART_CHAIN_SUBSCRIBE = "chain subscribe";
export const CHART_KLINE_COMPLETE = "kline complete";
export const CHART_KLINE_UNSUBSCRIBE = "unsubscribe";
export const CHART_KLINE_GOON = "goon";
export const CHART_KLINE_SUBSCRIBE_TIME = "subscribe time";
export const TRADINGVIEW_KLINE = "tradingView subscribe";
export const TRADINGVIEW_KLINE_SUBSCRIBE = "tradingView subscribe time";

export const DAY_STATE = "day state";
export const CONN_STATUS = "conn status";
export const CONN_RETRY = "conn retry";
export const CONN_ACTIVITY = "conn activity";
export const CONN_FLUCTUATION = "conn fluctuation";
export const CONN_BIG_AMOUNT = "conn big amount";
export const CONN_STABLE_CURRENCY = "conn stable currency";
export const CONN_STABLE_EVENT = "conn stable event";
export const CONN_RANK = "conn rank";
export const CONN_CLEVER = "conn clever";
export const CONN_ACTIVITY_RETRY = "conn clever try";
export const CONN_IMPORTANT = "important";
export const CONN_SIGNAL = "conn signal";
export const PING = "ping";
export const CLOSE = "close";
export const TICK = "tick";
export const TOGGLE_PAUSE = "toggle pause";
export const BIGTRADE = "bigtrade";
export const TRADE_DOUBLE = "trade double";


export const CONN_CHAIN_CLEVER = "conn chain clever";

export const KLINE_RANK_WAVE = "kline rank wave";
export const KLINE_RANK_FLUCTUATION = "kline rank fluctuation";
export const KLINE_RANK_FLUCTUATION_MN5 = "kline rank fluctuation mn5";
export const KLINE_RANK_FLUCTUATION_ALL = "kline rank fluctuation all";


export const START_CONN = "start conn";

export const UI_EMOJI = "ui emoji";

export const INDICATOR_FUNDS = "indicator funds"; //资金费率
export const INDICATOR_WAVE = "indicator wave"; //波动率
export const INDICATOR_TREND = "indicator trend"; //趋势
export const INDICATOR_MA = "indicator ma"; //MA(移动平均线)
export const INDICATOR_VOL = "indicator vol"; //VOL(成交量)

export const KLINE_CLEAR = "kline clear";
export const KLINE_RESET = "kline reset";
export const KLINE_RESET_PRICE = "kline reset price"

export const INDICATOR_TOGGLE = "indicator toggle"; //切换指标

export const SWITCH_TOGGLE = "swicth toggle"; //开关k线上的文本框


export const CLEVER_TYPE_SWITCH = "clever type switch";
export const CLEVER_CHART_SWITCH = "clever chart switch";
export const CAPITAL_CHANGE = "capital change";

export const PERSON_CHANEG = "person change";

export const CoinPairs = "CoinPairs"; //币兑收藏
export const SizeChart = "size chart";//变化视窗

export const NEWS_ID_CHANGE = "news id change";//新闻id变化

export const CHANGE_HOME_CHART = "change home chart";//首页图表长度变化
